<fieldset>
    <dl>
        <dt id="add_show_has_autoplaylist_label">
            <label for="add_show_has_autoplaylist_label">
                <?php echo $this->element->getElement('add_show_has_autoplaylist')->getLabel() ?>
            </label>
        </dt>
        <dd>
            <?php echo $this->element->getElement('add_show_has_autoplaylist') ?>
            <span class="show_autoplaylist_help_icon" aria-describedby="ui-tooltip-2"></span>
        </dd>

        <div id="add_show_playlist_dropdown">
            <p><?php echo _("Autoloading playlists' contents are added to shows one hour before the show airs. <a target='_blank' href='https://libretime.org/docs/user-manual/playlists/'>More information</a>"); ?></p>
            <dt id="add_show_autoplaylist_id">
                <label for="add_show_autoplaylist_id" class="required">
                    <?php echo $this->element->getElement('add_show_autoplaylist_id')->getLabel() ?>
                </label>
            </dt>
            <dd>
                <?php echo $this->element->getElement('add_show_autoplaylist_id') ?>
            </dd>
        </div>
        <div id="add_show_autoplaylist_repeat">
            <dt id="add_show_autoplaylist_repeat_label">
                <label for="add_show_autoplaylist_repeat_label">
                    <?php echo $this->element->getElement('add_show_autoplaylist_repeat')->getLabel() ?>
                </label>
            </dt>
            <dd>
                <?php echo $this->element->getElement('add_show_autoplaylist_repeat') ?>
            </dd>
        </div>
        <hr/>
        <div id="add_show_override_intro_playlist_dropdown">
            <dt id="add_show_intro_playlist_id">
                <label for="add_show_intro_playlist_id" class="required">
                    <?php echo $this->element->getElement('add_show_intro_playlist_id')->getLabel() ?>
                </label>
            </dt>
            <dd>
                <?php echo $this->element->getElement('add_show_intro_playlist_id') ?>
            </dd>
        </div>
        <div id="add_show_override_outro_playlist_dropdown">
            <dt id="add_show_outro_playlist_id">
                <label for="add_show_outro_playlist_id" class="required">
                    <?php echo $this->element->getElement('add_show_outro_playlist_id')->getLabel() ?>
                </label>
            </dt>
            <dd>
                <?php echo $this->element->getElement('add_show_outro_playlist_id') ?>
            </dd>
        </div>
    </dl>
</fieldset>
